<{include file="scenter/block/header.html"}>
<div class="ucenter_t">
    <ul><li><a href="<{link ctl='scenter/shop/yuyue:shop'}>">预约管理</a></li><li class="on">查看预约</li></ul>
</div>
<div class="ucenter_c">
    <{if !$group.priv.show_yuyue_mobile <=0}><p class="tips"><span class="lock">您是【<b class="red"><{$group.group_name}></b>】手机号不可见</span></p><{/if}>
    <form action="<{link ctl='scenter/shop/yuyue:save'}>" mini-form="ucenter" method="post">
    <input type="hidden" name="yuyue_id" value="<{$detail.yuyue_id}>" />
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="info">
        <{if $product}>
        <tr><th></th><td colspan="10"><b class="red">商品信息</b></td></tr>
        <tr>
            <th>名称：</th><td class="w-300"><{$product.name}></td>
            <th></th><td rowspan="3"><img src="<{$pager.img}>/<{$product.photo}>_thumb.jpg" photo="<{$pager.img}>/<{$product.photo}>_thumb.jpg" class="wh-100"/></td>
        </tr>
        <tr><th>价格：</th><td>￥<{$product.price}></td><th></th></tr>
        <tr><th>分类：</th><td><{$product.cat_title}></td><th></th></tr>
        <{/if}>
        <tr><th></th><td colspan="10"><b class="red">预约信息</b></td></tr>
        <tr>
            <th>联系人：</th><td><{$detail.contact}></td>
            <th>手机号：</th><td><td><{if $group.priv.show_yuyue_mobile > 0}><{$detail.mobile}><{else}><b class="red"><{$detail.mobile|cutstr:6:'* * * * * *'}></b><{/if}></td>
        </tr>
        <tr>
            <th>会员：</th><td><{if $member}><{$member.uname}><{else}>访客<{/if}></td><th>预约时间：</th><td><{$detail.dateline|format}></td>
        </tr>
        <tr><th>地址：</th><td colspan="10"><{$detail.addr|default:'--'}></td></tr>
        <tr><th>客户要求：</th><td colspan="10"><{$detail.note|default:'--'|nl2br}></td></tr>
        <tr><th>跟进状态：</th><td colspan="10"><select name="data[status]" class="select w-100"><{widget id="data/yuyue" value=$detail.status}></select></td></tr>
        <tr><th>商家备注：</th><td colspan="10"><textarea name="data[remark]" class="textarea w-400"><{$detail.remark}></textarea></td></tr>
        <tr><th></th><td colspan="10"><input type="submit" value="更新状态" class="mpbtn" /></td></tr>  
	</table>
    </form>
</div>
<{include file="scenter/block/footer.html"}>